import { Controller, Get, Inject } from '@midwayjs/core';
import { NovelService } from '../../service/novel.service';
import { R } from '../common/vo/Result';

@Controller('/')
export class HomeController {
  @Inject()
  novelService: NovelService;

  @Get('/')
  async home(): Promise<R<any>> {
    return new R(0, "hello my novel", null);
  }



  //本周推荐
  recommendOfThisWeek() {
    //todo
  }
  //热门推荐
  popularRecommend() {
    //todo
  }
  //精品推荐
  boutiqueRecommend() {
    //todo
  }
  //轮播图
  carousel() {
    //todo
  }
}



